import service from '../request'

// 获取圆
export function getCircle() {
  return service({
    url: '/Draw/DrawEllipse2/geojson',
    method: 'get',
  })
}

// 新增圆
export function postAddCircle(params) {
  return service({
    url: '/Draw/DrawEllipse2',
    method: 'post',
    data: params,
  })
}
// 测试
export function postcs(params) {
  return service({
    url: '/TrackLine/toCzml',
    method: 'post',
    data: params,
  })
}
export function putCircle(params) {
  return service({
    url: `/Draw/DrawEllipse2`,
    method: 'put',
    data: params,
  })
}
